/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package Patrick;

/**
 *
 * @author Wallyson
 */
import java.util.Scanner;
public class Exercicio63 {
    public static void main(String []args){
    
        System.out.println("Digite a quantidade de linhas: ");
        int linhas = new Scanner(System.in).nextInt();
        for (int cont = 1; cont <= linhas; cont++){
            {
                System.out.println();
            }
            for (int cont2 = 1; cont2 <= cont; cont2++){
 
                if(cont < 10)
                    System.out.print("0"+cont2+" ");
                else
                    System.out.print(cont2+" ");
            }
 
        }
    
}
}
